package com.hyst.model;

import java.io.Serializable;
import javax.persistence.*;

import lombok.Data;

import java.util.Date;


/**
 * The persistent class for the examine_record database table.
 * 
 */
@Data
@Entity
@Table(name="examine_record")
@NamedQuery(name="ExamineRecord.findAll", query="SELECT e FROM ExamineRecord e")
public class ExamineRecord implements Serializable {
	private static final long serialVersionUID = 1L;

	@Column(name="bad_count")
	private int badCount;

	@Column(name="batch_id")
	private String batchId;

	@Column(name="checker_id")
	private String checkerId;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="finish_time")
	private Date finishTime;

	private String fpy;

	@Id
	private String id;

	@Column(name="inspection_count")
	private int inspectionCount;

	@Column(name="plan_code")
	private String planCode;

	@Column(name="repair_count")
	private int repairCount;

	@Temporal(TemporalType.TIMESTAMP)
	@Column(name="start_time")
	private Date startTime;

	private String state;

	@Column(name="system_name")
	private String systemName;

	private String type;

	@Column(name="unpassed_count")
	private int unpassedCount;

	@Column(name="worker_id")
	private String workerId;


}